import React from 'react'
import defaultCover from 'src/static/image/project_2_5d.jpg'
import style from './style.module.scss'
import { Pagination } from 'antd'
import { ProjectResultItem } from 'src/components/items/ProjectResultItem'

const mockData = {
    id: '1',
    title: '南昌大学实验室排课系统',
    img: defaultCover,
    describe: '为了培养学生的创新意识及运用数学方法和计算机技术解决实际问题的能力，中国优选法统筹法与经济数学研究会决定主办2020年第十届MathorCup高校数学建模挑战赛，' +
        '欢迎各高等院校按照竞赛章程及有关规定组织同学报名参赛。',
    teacher: '黄安'
}

export const ProjectResultPage:React.FC = () => (
    <div>
        <div className={style.flexContainer}>
            {new Array(9).fill(undefined).map((item, index) => {
                return (
                    <ProjectResultItem key={index} data={mockData}/>
                )
            })}
        </div>
        <div className={style.pagination}>
            <Pagination defaultCurrent={1} total={50}/>
        </div>
    </div>
)
